package cn.itcast.bos.service.base.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.itcast.bos.Dao.base.ITakeTimeDao;
import cn.itcast.bos.domain.base.TakeTime;
import cn.itcast.bos.service.base.ITakeTimeService;

/** 
 * 上班时间的业务层实现
 *
 * @author Shao-Fei Fan 
 * @version 1.0,2017年9月9日 下午9:54:26 
 */
@Service
@Transactional
public class TakeTimeServiceImpl implements ITakeTimeService {
	
	@Autowired
	private ITakeTimeDao takeTimeDao;
	
	/**
	 * @see cn.itcast.bos.service.base.ITakeTimeService#findAll()
	 */
	@Override
	public List<TakeTime> findAll() {
		List<TakeTime> findAll = takeTimeDao.findAll();
		return findAll;
	}

}
